DDOC Print Demo

Print and Print Preview with DDOC.DLL (shareware)

Demos by Eldron Gill

Home

A Contest!

Fast Bitmaps

Button Lesson

API Corner

Listbox Trivia

Listbox Demo 1

Listbox Demo 2

SpriteByte-Shooting

Qcard DLL-Lesson 1

DDOC Print Demo

Newsletter help

Index


Print and Print Preview

Editor's Note: The DDOC.DLL is a shareware printing engine provided by BASIC Guru, Don Dickinson. It has functions that allow you to format text in many ways, and you can also print lines, rectangles, ellipses, arcs, pies, bitmaps, and metafiles. The documentation includes an indepth tutorial, as well as instructions for printing labels and other advanced methods. The DLL allows you to give your users a print preview! Eldron Gill has written some really nice demos of this DLL. His files are included with the zip archive of this issue.

Summary of features - as listed on the DDOC home page:


'Printer dll Demo
'ddoc Print and Preview Engine
'By Eldron Gill and Colin McMurchie
'Use any way you wish.

'zip file is : LB_ddocDllPrintTrialDemo.zip
'files in zip are:
'DDOC.BMP
'DDOC.EXE
'DDOC32.DLL ' If you use this dll, DDOC.EXE must also be included with your program.
'printing6.bas

' ddoc software site : http://dickinson.basicguru.com/software.htm
' online docs : http://dickinson.basicguru.com/ddoc_manual/index.htm
' download free evaluation here: http://dickinson.basicguru.com/files/tryddoc.exe

' This printer dll demo would not be possible without the help
' of Colin McMurchie who wrote a function that takes an ordinary LB number
' and returns its 32 bit floating point representation as an LB integer.
' Also thanks to Alyce Watson, Brad Moore, and Stefan Pendl.
' Helpful discussions were here:
' http://libertybasic.conforums.com/index.cgi?board=LB3&action=display&num=1082167646

'I'm still not sure i have all the dll calls correct,...but it does give the desired results.
'If any one sees an error in the calls, fix them and share with the rest of us.

'This dll is NOT FREE.  It is Shareware, $25, includes PBDLL source
'The dll will do much more than what is presented here, but this demo gives you a
'little glimpse of it's potential.  In this demo we demonstrate left-aligned text,
'centered text, horizontal line, vertical line, print bmp, and text wrap.
'I like it primarily because you write the code once and you get a preview and the option
'to print all at once.

'Enjoy,
'Eldron


Home

A Contest!

Fast Bitmaps

Button Lesson

API Corner

Listbox Trivia

Listbox Demo 1

Listbox Demo 2

SpriteByte-Shooting

Qcard DLL-Lesson 1

DDOC Print Demo

Newsletter help

Index